﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Abp.AutoMapper;
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using FwProject.FactoryInfo.Dto;
using FwProject.Users.Dto;

namespace FwProject.Car.Dto
{
    [AutoMap(typeof(CarMap))]
    public class CarMapDto: Entity<Guid>, ICreationAudited
    {
        [Display(Name = "汽车编号")]
        public Guid? CarInfoId { get; set; }
        public CarInfoDto CarInfoModel { get; set; }

        [Display(Name = "汽车司机")]
        public long EmployeeDriverid { get; set; }
        public UserDto EmployeeDriver { get; set; }

        [Display(Name = "所属工厂")]
        public Guid FactoryId { get; set; }

        public FactoryNameInfoDto FactoryInfoModel { get; set; }

        [Display(Name = "经度")]
        public string longitude { get; set; }

        [Display(Name = "纬度")]
        public string latitude { get; set; }

        public long? CreatorUserId { get; set; }
        public DateTime CreationTime { get; set; }
    }
}
